package com.zpf.service;

import com.zpf.domain.Book;
import com.zpf.domain.Page;

import java.util.List;

public interface BookService {
    List<Book> findAll();

    void removeBook(int bookId);

    Book findById(int bookId);

    void modify(Book book);

    void addBook(Book book);

    //分页查询
    public List<Book> findAllPage(Page page);

    //查询总记录数
    public int findAllPageCount();
}
